package com.qinghuan.mybatisplus.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.Version;
import lombok.Data;

/**
 * @Author: dubao
 * @Date: 2022/5/14 10:31
 */

    @Data
    public class Product {
        private Long id;
        private String name;
        private Integer price;
        private Integer sex;
        @Version
        private Integer version;
        @TableLogic
        @TableField("deleteflag")
        private Integer deleteFlag;
    }

